<?php /* Smarty version 2.6.26, created on 2014-02-07 08:06:18
         compiled from offers.tpl.php */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<link href="<?php echo $this->_tpl_vars['SITE_URL']; ?>
templates/css/default.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->_tpl_vars['SITE_URL']; ?>
templates/css/fonts.css" rel="stylesheet" type="text/css" />
<script src="<?php echo $this->_tpl_vars['SITE_URL']; ?>
templates/js/jquery.js" type="text/javascript"></script>
<script src="<?php echo $this->_tpl_vars['SITE_URL']; ?>
templates/js/json2.js" type="text/javascript"></script>



<link href="<?php echo $this->_tpl_vars['SITE_URL']; ?>
templates/css/colorbox/colorbox_offers.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?php echo $this->_tpl_vars['SITE_URL']; ?>
templates/js/colorbox/jquery.colorbox.js"></script>



<script type="text/javascript">

var SITE_URL = "<?php echo $this->_tpl_vars['SITE_URL']; ?>
";

</script>

<script src="<?php echo $this->_tpl_vars['SITE_URL']; ?>
templates/js/ajax.js" type="text/javascript"></script>

<script src="<?php echo $this->_tpl_vars['SITE_URL']; ?>
templates/js/common.js" type="text/javascript"></script>


<script type="text/javascript" src="<?php echo $this->_tpl_vars['SITE_URL']; ?>
templates/js/jquery.tipsy.js"></script>
<link href="<?php echo $this->_tpl_vars['SITE_URL']; ?>
templates/css/tipsy.css" rel="stylesheet" type="text/css" />

</head>

<body style="background:none">
<div class="offerp_box2">
<div class="top"><p style="float:left"></p><p style="float:right; padding-right:30px; padding-top:25px;"><?php if ($this->_tpl_vars['noSn'] != '1'): ?><a href="<?php echo $this->_tpl_vars['SITE_URL']; ?>
offers.php?f=<?php echo $this->_tpl_vars['fileCode']; ?>
&r=<?php echo $this->_tpl_vars['randomHash']; ?>
&sn=<?php echo $this->_tpl_vars['nextSN']; ?>
" style="color:#252525; font-size:12px">More Offers</a> | <?php endif; ?><a href="javascript:void(0)" onclick="window.parent.$.colorbox.close()" style="color:#252525;"><img src="<?php echo $this->_tpl_vars['SITE_URL']; ?>
templates/images/cross.gif"  alt="" style="vertical-align:middle" /> close</a></p></div>

<div class="mid">

<?php if ($this->_tpl_vars['surveys'] != ""): ?>

<div id="_offers">
<?php $_from = $this->_tpl_vars['surveys']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['survey']):
?>
<div class="offerDiv"   title="<?php echo $this->_tpl_vars['survey']['desc']; ?>
">
<p><img src="<?php echo $this->_tpl_vars['SITE_URL']; ?>
templates/images/offer_icon.png" alt="" />&nbsp;&nbsp;<a href="<?php echo $this->_tpl_vars['SITE_URL']; ?>
offer.php?id=<?php echo $this->_tpl_vars['survey']['id']; ?>
&f=<?php echo $this->_tpl_vars['fileCode']; ?>
&r=<?php echo $this->_tpl_vars['randomHash']; ?>
" onclick="initCheck('<?php echo $this->_tpl_vars['survey']['id']; ?>
', '<?php echo $this->_tpl_vars['fileCode']; ?>
', '<?php echo $this->_tpl_vars['randomHash']; ?>
')" target="_blank"><?php echo $this->_tpl_vars['survey']['offer_name']; ?>
</a></p>
</div>

<?php endforeach; endif; unset($_from); ?>
</div>

<div id="dform" style="display:none; width:90%; text-align:center">
<form action="<?php echo $this->_tpl_vars['SITE_URL']; ?>
file/<?php echo $this->_tpl_vars['fileCode']; ?>
" method="post">
<input type="hidden" id="durl" name="durl" value="<?php echo $this->_tpl_vars['SITE_URL']; ?>
file/<?php echo $this->_tpl_vars['fileCode']; ?>
" />
<input type="hidden" name="token" id="tokenId" value="" />
</form>
</div>


<br />

<?php else: ?>
<p style="width:400px; text-align:center; padding:20px auto; margin:0 auto; color:#252525; font-size:14px; font-weight:bold;"><br /><br />No offer available in your country. If you wish to download file, you can buy premium account.</p>
<?php endif; ?>


</div>


<div class="bottom"><div id="_ostatus">&nbsp;</div></div>



</div>

<script type="text/javascript">
<?php echo '

$(document).ready(function(){
	
	
	//tooltips
	$(\'.offerDiv\').tipsy({gravity: \'s\'});	
	

	
});

'; ?>

</script>


</body>
</html>

